package com.hsqn.service.impl;

import com.hsqn.mapper.WorkMapper;
import com.hsqn.service.WorkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WorkServiceImpl implements WorkService {
    @Autowired
    private WorkMapper workMapper;
    @Override
    public void insert(String order_no,int elderly_id,int O_type, String S_type, String content, String time, int createid) {
        workMapper.insert(order_no, elderly_id, O_type, S_type, content, time, createid);
    }
    @Override
    public void update_executor(String order_no,int executor_id) {
        workMapper.update_executor(order_no, executor_id);
    }
}
